package com.qiaofang.collectmanage.stub.facade;

import com.qiaofang.collectmanage.stub.request.MergeRegionRequest;
import com.qiaofang.common.response.CommonResponse;
import io.swagger.annotations.*;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author li.yi
 * @date 2018年8月06日
 */
@FeignClient(name = "collectmanage",url="${feign.url.collectmanage}")
@RequestMapping("/mergeregion")
@Api(tags = "mergeregion", value = "合并区域接口集合")
public interface MergeRegionFacade {

    @RequestMapping(value = "/mergeRegion",method = RequestMethod.POST)
    @ApiOperation(value="合并区域到es中",notes = "合并区域到es中")
    @ApiImplicitParams({@ApiImplicitParam(name="request",value="请求参数",dataType = "MergeRegionRequest")})
    public CommonResponse mergeRegion(MergeRegionRequest request);


}
